package marketplace.componente.carrocompras;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Iterator;

import javax.ejb.Remote;
import javax.ejb.Remove;


import marketplace.objects.TransaccionBO;

@Remote
public interface CarroComprasRemote{
	
	public void agregarAlCarrito(TransaccionBO elementoTransaccion);
	
	public void eliminarDelCarrito(TransaccionBO servicioAEliminar);
	
	public ArrayList<TransaccionBO> darElementosDelCarrito();
	
	public double darValorTotalDelCarrito();
	
	@Remove
	public void efectuarCompra();

}
